﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;

namespace gAMS_Sacombank.Web.Services.AssetManagement.Interfaces.AssCommon
{
    [ServiceContract]
    public interface IRegions
    {
        [OperationContract]
        IEnumerable<CM_REGION> GetByAllRegion();

        [OperationContract]
        String InsertRegion(CM_REGION data);

        [OperationContract]
        String UpdateRegion(CM_REGION data);

        [OperationContract]
        String DeleteRegion(string id);

        [OperationContract]
        IEnumerable<CM_REGION> GetByTopRegion(string _top, string _where, string _order);

        [OperationContract]
        String ApproveRegion(CM_REGION data);
    }
}